{OVERALL_HEADER}
<div id="column">
	{OVERALL_LEFT_MENU}
</div>
<div id="content">
    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>
		<table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><span class="header1">{LANG_HELLO}, {USERNAME} IF("{RATING}" != "0"){(<a href="reviews.php?id={USER_ID}&type=provider"><img src="templates/{TPL_NAME}/images/rating_{RATING}.gif" border="0"></a>){:IF}</span></td>
              <td align="right"><span class="header1">{LANG_CURBALANCE}: {BALANCE}</span></td>
            </tr>
          </table>
          <br>
          <br>
          <span class="title2">{LANG_PROJBID}</span><br>
          <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tablelist">
            <tr>
              <th width="200" bgcolor="#C7C7C7" height="30" style="padding-left:5px;"><strong style="color:#666666;">{LANG_PROJNAME}</strong></th>
			  
              <th height="30" bgcolor="#C7C7C7" style="padding-left:5px;"><strong style="color:#666666;">{LANG_STATUS}</strong></th>
			  
              <th height="30" bgcolor="#C7C7C7" style="padding-left:5px;"><strong style="color:#666666;">{LANG_BID}</strong></th>
			  
              <th height="30" bgcolor="#C7C7C7" style="padding-left:5px;"><strong style="color:#666666;">{LANG_LOWESTBID}</strong></th>
			  
			  <th height="30" bgcolor="#C7C7C7" style="padding-left:5px;"><strong style="color:#666666;">{LANG_OPTIONS}</strong></th>
            </tr>
  {LOOP: BIDS}
  <tr class="normal">
    <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;"><a href="project.php?id={BIDS.project_id}">{BIDS.project_title}</a></td>
	
    <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{BIDS.status}</td>
	
    <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">#{BIDS.count} ({CURRENCY_SIGN}{BIDS.bid_amount})</td>
	
    <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{CURRENCY_SIGN}{BIDS.lowest_bid}</td>
	
    <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;"><a href="{BIDS.options_link}">{BIDS.options}</a></td>
  </tr>  
  {/LOOP: BIDS}
          </table>          
          <br>
          <span class="title2">{LANG_PROJWON}</span><br>
          <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tablelist">
            <tr>
              <th height="30" bgcolor="#C7C7C7" style="padding-left:5px;">{LANG_PROJNAME}</th>
			  
			  <th width="150" bgcolor="#C7C7C7" height="30" style="padding-left:5px;">{LANG_PROJCREATOR}</th>
				IF("{PAY_TYPE}"=="1"){
				
				<th width="20" bgcolor="#C7C7C7" height="30" style="padding-left:5px;"><img src="templates/{TPL_NAME}/images/paid_on.gif" width="9" height="12"></th>{:IF}
				
				<!--  <th width="20" bgcolor="#C7C7C7" height="30" style="padding-left:5px;"><img src="templates/{TPL_NAME}/images/feedback_on.gif" width="14" height="15"></th> -->
			  	<th width="20" bgcolor="#C7C7C7" height="30" style="padding-left:5px;">Actions</th>
            </tr>
  {LOOP: RATE}
  <tr class="normal">
    <td height="30" bgcolor="#F3F3F3"><a href="project.php?id={RATE.project_id}" style="padding-left:5px;">{RATE.project_title}</a></td>
	
	<td height="30" bgcolor="#F3F3F3" style="padding-left:5px;"><a href="profile.php?id={RATE.buyer_id}&type=buyer">{RATE.username}</a></td>
	<!-- IF("{PAY_TYPE}"=="1"){
	<td bgcolor="#F3F3F3" height="30" style="padding-left:5px;">{:IF}
	IF("{RATE.paid}"=="0"){<img src="templates/{TPL_NAME}/images/paid_off.gif" width="9" height="12" border="0">{:IF}
	IF("{RATE.paid}"=="1"){<img src="templates/{TPL_NAME}/images/paid_on.gif" width="9" height="12" border="0">{:IF}
	IF("{PAY_TYPE}"=="1"){</td>{:IF}
	-->
	<td bgcolor="#F3F3F3" height="30" style="padding-left:5px;">
	<a href="{RATE.action_link}">{RATE.action_caption}</a>	
	<!-- 
	 IF("{RATE.buyer_rated}"=="0"){<a href="rate.php?id={RATE.project_id}"><img src="templates/{TPL_NAME}/images/feedback_off.gif" width="14" height="15" border="0"></a>{:IF}
	IF("{RATE.buyer_rated}"=="1"){<a href="reviews.php?id={RATE.buyer_id}&type=buyer"><img src="templates/{TPL_NAME}/images/feedback_on.gif" width="14" height="15" border="0" alt=""></a>{:IF}
	-->
	</td>
  </tr>
  
  {/LOOP: RATE}
          </table>
          <br>
          <span class="title2">Pending Escrow Payments</span><br>
          <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tablelist">
            <tr>
              <th width="200" height="30" bgcolor="#C7C7C7" style="padding-left:5px;">{LANG_PROVIDERU}</th>
			  
			  <th width="150" bgcolor="#C7C7C7" height="30" style="padding-left:5px;">{LANG_AMOUNT}</th>
			  <th bgcolor="#C7C7C7" height="30" style="padding-left:5px;">Description</th>
			  <th bgcolor="#C7C7C7" height="30" style="padding-left:5px;">{LANG_OPTIONS}</th>
            </tr>
  {LOOP: ESCROW}
  <tr class="normal">
    <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{ESCROW.from_nick}</td>
	
	<td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{CURRENCY_SIGN}{ESCROW.amount}</td>
	<td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{ESCROW.description}</td>
	<td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">
    IF("{ESCROW.from}"=="buy"){<a href="escrow.php?cancel={ESCROW.id}">Cancel</a>{:IF}
    IF("{ESCROW.from}"=="pro"){<a href="escrow.php?approve={ESCROW.id}">Approve</a>{:IF}
    </td>
  </tr>
  {/LOOP: ESCROW}
    </table>
          <br>
		  </td>
      </tr>
    </table>
</div>
<div style="clear:both;"></div>
{OVERALL_FOOTER}